{% extends "base.html" %}

{% block registro %}

<!--<div class="solitario">-->
{% if form.errors %}
	<div class="error_general">
		Por favor, corrija {{ form.errors|pluralize:"el,los" }} error{{ form.errors|pluralize:"es" }} del registro.
	</div>
{% endif %}

<form action="" method="post"> 
	<div class="field">
		{{ form.username.errors }}
		<label for="id_username">{{ form.username.label }}</label>
		{{ form.username }}
	</div>
	<div class="field">
		{{ form.email.errors }}
		<label for="id_email">{{ form.email.label }}</label>
		{{ form.email }}
	</div>
	<div class="field">
		{{ form.password.errors }}
		<label for="id_password">{{ form.password.label }}</label>
		{{ form.password }}
	</div>
	<div class="field">
		{{ form.password2.errors }}
		<label for="id_password2">{{ form.password2.label }}</label>
		{{ form.password2 }}
	</div>
	<input type="submit" value="Subscribirse" />
	<a href="{% url django.contrib.auth.views.login %}" class="estilo_boton">Logearse</a>
</form>
<!--</div>-->
{% endblock %}
